package com.photography.wedding.dao;

import com.photography.wedding.pojo.Menus;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface MenusMapper {
    int deleteByPrimaryKey(String id);

    int insert(Menus record);

    int insertSelective(Menus record);

    Menus selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Menus record);

    int updateByPrimaryKey(Menus record);

    List<Menus> selectMenusIdAll(String id);

    List<Menus> selectMenusAll();

    List<Menus> selectAdminMenuAll(String type);

}